createBlur

abstract fun createBlur(type: BlurType): DesignBlock

Create a new blur, fails if type is unknown or not a valid blur type.

Return

the handle of the newly created blur.

Parameters

type

the type id of the block.


abstract fun createBlur(type: String): DesignBlock

Deprecated

Use type safe overload instead.

Replace with

this.createBlur(BlurType.)

Create a new blur, fails if type is unknown or not a valid blur type.

Return

the handle of the newly created blur.

Parameters

type

the type id of the block.